package com.ruoyi.applet.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 分类对象 category
 * 
 * @author ruoyi
 * @date 2024-11-19
 */
public class Category extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分类唯一标识 */
    private Long categoryId;

    /** 父等级 */
    @Excel(name = "父等级")
    private Long categoryParentLevel;

    /** 图片外键 */
    @Excel(name = "图片外键")
    private String categoryImage;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String categoryName;


    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setCategoryParentLevel(Long categoryParentLevel) 
    {
        this.categoryParentLevel = categoryParentLevel;
    }

    public Long getCategoryParentLevel() 
    {
        return categoryParentLevel;
    }
    public void setCategoryImage(String categoryImage) 
    {
        this.categoryImage = categoryImage;
    }

    public String getCategoryImage() 
    {
        return categoryImage;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("categoryId", getCategoryId())
            .append("categoryParentLevel", getCategoryParentLevel())
            .append("categoryImage", getCategoryImage())
            .append("categoryName", getCategoryName())
            .toString();
    }

}
